package com.ruoyi.dingtalk.domain.embeddable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * 钉钉用户部门和钉钉用户双绑定主键
 *
 * @author xueyu
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Embeddable
public class DdDeptUserId implements Serializable {
    private static final long serialVersionUID = -4908833995615062480L;


    @Column(name = "dd_user_id")
    private String ddUserId;

    @Column(name = "dd_dept_id")
    private Long ddDeptId;

}
